package cn.wolfcode.wms.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Setter
@Getter
public class BaseAuditDomain extends BaseDomain {
    ///////////
    public static final Integer STATUS_NORMAL = 0;//表示订单平常的状态为未审核状态

    public static final Integer STATUS_AUDITED = 1;//表示订单已经被审核了
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date vdate;

    private Integer status = STATUS_NORMAL;

    private BigDecimal totalAmount;

    private BigDecimal totalNumber;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date auditTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inputTime;

    private Employee inputUser;

    private Employee auditor;
}
